package com.example.back.util;

import java.util.Date;

public class GetDays {
    public static long getdays(Date date1, Date date2) {
            long day = (date1.getTime() - date2.getTime())/(1000*24*60*60);
            return day + 1;
        }

}
